package com.zzl.springboot_mybatis_demo.enums;

import lombok.Getter;

/**
 * description: 响应结果信息枚举类
 * @author 朱正磊
 * @date 2019-08-29 09:57:04
 */
@Getter
public enum ResultEnum {

    // 响应成功枚举
    SUCCESS(200, "成功"),
    ;

    private Integer code;

    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
